package jnpf.service;

import jnpf.mapper.SchoolMapper;
import jnpf.model.school.vo.SchoolVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SchoolService {

    @Autowired
    private SchoolMapper schoolMapper;

    public List<SchoolVO> listSchool() {
        List<SchoolVO> schoolVO = schoolMapper.listSchool();
        return schoolVO;
    }

}
